import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import axios from 'axios'
import VueAxios from 'vue-axios'

import {
  Button, Select, Radio, Container, Aside,
  Header, Menu, Main, MenuItem, MenuItemGroup,
  Submenu, Dropdown, DropdownMenu, DropdownItem,
  Row, Col, Card, Table, TableColumn,Breadcrumb,
  BreadcrumbItem,Tag,Pagination,
} from 'element-ui';

import router from './router'
import store from './store'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

//自己写的样式
import '/src/style/theme.css'
import '/src/style/characters.css'
// 注册element-ui
Vue.use(ElementUI)

Vue.config.productionTip = false

Vue.use(VueAxios, axios)


Vue.use(Button)
Vue.use(Select)
Vue.use(Radio)
Vue.use(Container)
Vue.use(Aside)
Vue.use(Header)
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Submenu)
Vue.use(Main)
Vue.use(Dropdown)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Row)
Vue.use(Col)
Vue.use(Card)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Breadcrumb)
Vue.use(BreadcrumbItem)
Vue.use(Tag)
Vue.use(Pagination)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
